package com.qzsoft.zhjd.machine.modules.machinefuel.service;

import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qzsoft.zhjd.machine.modules.machinefuel.dto.MachineRefuelRecordsDto;
import com.qzsoft.zhjd.machine.modules.machinefuel.entity.MachineRefuelRecordsEntity;

/**
 * @ClassName MachineRefuelRecordsService
 * @Description 加油记录业务接口
 * @author linhuawei
 * @since 2021-11-04
 */
public interface MachineRefuelRecordsService extends IService<MachineRefuelRecordsEntity> {

    /**
     * @Title pageDto
     * @Description 获取加油记录分页数据
     * @param params 查询条件
     * @return 加油记录分页数据
     */
    public IPage<MachineRefuelRecordsDto> pageDto(Map<String, Object> params);

    /**
     * @Title pageForMachine
     * @Description 指定设备加油记录
     * @param machineId 设备主键
     * @param params    查询条件
     * @return 指定设备加油记录
     */
    public IPage<MachineRefuelRecordsEntity> pageForMachine(String machineId, Map<String, Object> params);

}
